package com.scu.bank.util;

import com.github.pagehelper.PageInfo;
import com.scu.bank.core.jo.Page;

public class PageHelperFilterUtils {
    public static Page convert(PageInfo pageInfo){
        Page page = new Page();
        page.setList(pageInfo.getList());
        page.setTotal(pageInfo.getTotal());
        return page;
    }
}
